package com.ai_daily.aitiantian.bean.param;

import android.text.TextUtils;

import com.ai_daily.aitiantian.bean.BaseBean;

import java.util.HashMap;
import java.util.Map;

public class QueryVersionInfoParam extends BaseBean {

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    private String version;

    @Override
    public String toString() {
        return "QueryVersionInfoParam{} " + super.toString();
    }

    @Override
    protected Map<String, String> getParamsMap() {
        Map<String, String> params = new HashMap<String,String>();
        if(!TextUtils.isEmpty(version))params.put("version",version);
        return params;
    }
}
